<template>
    <div>
        <mt-swipe :auto="3000">
            <mt-swipe-item v-for="item in imgarr" :key="item.id">
                <img :src="item.imgsrc">
            </mt-swipe-item>
        </mt-swipe>
        <ul class="mui-table-view mui-grid-view mui-grid-9">
		            <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><router-link to="/home/newslist">
		                    <img src="../../images/menu1.png">
		                    <div class="mui-media-body">Home</div></router-link></li>
		            <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><a href="#">
		                    <img src="../../images/menu2.png">
		                    <div class="mui-media-body">Email</div></a></li>
		            <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><a href="#">
		                    <img src="../../images/menu3.png">
		                    <div class="mui-media-body">Chat</div></a></li>
		            <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><a href="#">
		                    <img src="../../images/menu4.png">
		                    <div class="mui-media-body">location</div></a></li>
		            <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><a href="#">
		                    <img src="../../images/menu5.png">
		                    <div class="mui-media-body">Search</div></a></li>
		            <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><a href="#">
		                    <img src="../../images/menu6.png">
		                    <div class="mui-media-body">Phone</div></a></li>
		        </ul> 
    </div>
</template>

<script>
export default {
  data() {
    return {
      imgarr: [
        {
          id: 1,
          imgsrc: "src/images/01.jpg"
        },
        {
          id: 2,
          imgsrc: "src/images/02.jpg"
        },
        {
          id: 3, "src/images/03.jpg"
        }
      ]
    };
  },
  methods: {
    open(){
      alert(1)
    },
  }
};
</script>

<style lang="scss" scoped>
.mint-swipe {
  height: 200px;
  .mint-swipe-item img {
    width: 100%;
    height: 100%;
  }
}
.mui-grid-view.mui-grid-9{
    background-color: #FFF;
    border: none;
}
.mui-grid-view.mui-grid-9 .mui-table-view-cell{
    border: none;
    img{
        width: 60px;
        height: 60px;
    }
}
</style>
